﻿using Microsoft.UI.Xaml.Controls;

namespace DNFImagePacks2Manager.Models
{
    public abstract class BKItemBase : PinYinItem
    {
        public string DisplayPrefix { get; set; }

        public virtual string DisplayName => DisplayPrefix + ": " + Name;

        public BKItemBase(string name, string prefix)
        {
            Name = name;
            DisplayPrefix = prefix;
        }

        public abstract void Apply(Page page);
        public abstract void Preview(Page page);
        public abstract void Edit(Page page);
        public abstract bool Rename(Page page, string name);
        public abstract void Export(Page page);
        public abstract bool Delete(Page page);
    }
}
